#ifndef __SYSUTILS_H__
#define __SYSUTILS_H__

#include "uTypes.h"

#define LED1            1
#define LED2            2
#define LED3            3
#define LED_ALL       4

#define MASK_BIT(bit)    (1<<(bit))

void sysUtilsUSecDelay (U32 dwUs);
void sysUtilsDelay (U32 dwTime);
STATUS sysUtilsSetPllValue (int nMDiv, int nPDiv, int nSDiv);
STATUS sysUtilsSetMainClk (U32 nMCLK);
void sysUtilsLightLed (U32 dwLedNo, BOOL bLight);

extern U32 g_dwMCLK;

#endif //__SYSUTILS_H__